﻿namespace OneWorks.DataBase.Entity
{
    using System;
    using System.Collections.Generic;
    using System.Text;
    using OneWorks.Metadata.Interface;

    public partial class Icon : IAggregateRoot
    {
        public Icon()
        {   
            Menus = new List<Menu>();
        }

        public System.Guid ID { get; set; }
        public System.Guid ImageID { get; set; }
        public System.Guid UserID { get; set; }
        public string Style { get; set; }
        public int Height { get; set; }
        public int Width { get; set; }
        public int Top { get; set; }
        public int Left { get; set; }

        public virtual Image Image { get; set; }
        public virtual ICollection<Menu> Menus { get; set; }
    }
}